<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>凯盛项目管理系统</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>



<style type="text/css">
form {
	margin: 0;
}

textarea {
	display: block;
}


.body{
     background-img:url(img/333.png);
    background-color:#F5F5F5;
      margin-top:25px; 
  }
</style>
<script charset="utf-8" src="kindeditor-4.1.1/kindeditor-min.js"></script>




		
		
</head>
<body class="body">

	<div class="navbar navbar-fixed-top"  >
		<div class="navbar-inner" >
		
			<div class="container">
			<marquee scrolldelay="40" direction="right" onmouseover="this.stop()" onMouseOut="this.start()">
				<a class="brand" href="main.jspx" style="color:red;margin-top:0px;">凯盛项目管理系统  欢迎你的登陆！</a>
				</marquee>
			</div>
		</div>
	</div>
	
	
	<div class="container" id="s" >
	  <div class="row"  >
		<div class="span3" >
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header">新Apple总部项目</li>
				  <li class="divider"></li>
				  <li class="active"><a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx?_m=s1"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx?_m=d1"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx?_m=c5"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
				  <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
				</ul>
			</div>
		</div>
			<div class="span9">

				<ul class="breadcrumb"
					style="margin-bottom:0px;border-radius: 3px 3px 0 0">
					<li class="active"><a href="task.html"><i
							class="icon-user"></i>联系人</a></li>
				</ul>
				<div class="wall">


					<address>
						<h3>${requestScope.contact.name }</h3>
						<p>焦作凯盛信息技术有限公司</p>
						<small>手机</small> ${requestScope.contact.moblie }<br /> <small>固话</small>
						${requestScope.contact.tel }<br />
						<br /> <small>邮箱</small> ${requestScope.contact.email }<br /> <small>地址</small>
						${requestScope.contact.address }<br />
						<br /> <small>主页</small> <a
							href="${requestScope.contact.website }">${requestScope.contact.website
							}</a><br /> <small>微博</small> <a
							href="http://${requestScope.contact.weibo }">@${requestScope.contact.weiboname
							}</a><br />
					</address>
					<div class="line">记录</div>
					<form method="post" action="contact.jspx?_m=cf">
						<input type="hidden" name="cid" value="${requestScope.contact.id}">
						<textarea name="content" class="span5"
							style="width:660px;height:5px;visibility:hidden;"></textarea>
						<br />
						<button>发布</button>
					</form>
					<c:forEach items="${requestScope.contact.result}" var="list">
						<blockquote>

							${list.content} <small>${list.time}</small>
				      <a href="contact.jspx?_m=dels&noteid=${list.id}&cid=${requestScope.contact.id}" class="g" title="删除"><i class="icon-trash"></i></a>
						</blockquote>
					</c:forEach>
					<!-- <blockquote>
						  中午一起吃的午饭
						  <small>樊凯发布于 4天前</small>
						</blockquote>
						<blockquote>
						  初次见面，不错不错...
						  <small>樊凯发布于 1个月前</small>
						</blockquote>
						<blockquote>
						  让Hanks给她打电话了，预约见面
						  <small>樊凯发布于 2011-11-21 13:34</small>
						</blockquote> -->
					<a href="contact.jspx?_m=c5">←返回联系人列表</a>
				</div>



			</div>
		</div>
	</div>
	<script type="text/javascript" >
	     	KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
					 '|', 'emoticons',  'link']
				});
			});
			
			
			$(document).ready(function(){
			$(".g").click(function(){
			if(confirm("确定删除吗")){return true;}else{return false;}
			})
			})
		/* 	$(document).ready(function(){
  			$(".delme").click(function(){
  				if(confirm("确实要删除该文件？")){return true;}else{return false;};
  			});
  		}); */
		</script>
</body>
</html>